.nav-wrapper{
    height: 40px;
    line-height: 40px;
    background-color: #333333;
}

.nav-link{
    float: left;
}

.nav-cart,.nav-info{
    float: right;
}

.nav-content a{
    /* 转换为行内块元素本质上是一个行内元素 行内元素默认垂直方向
    按照下基线对齐 元素会多一点出来*/
    /*行内块元素隐患很多，这里把a设置为行内块是为了让a的作用区域变大
    其实也可以让元素脱离文档流 那么a也有浮动的特性*/
    /* display: inline-block; */
    text-decoration: none;
    color:#b0b0b0;
    font-size: 12px;
    /* vertical-align: top; */
    float: left;   
}

.nav-content .line{
    float: left;
    color: #424242;
    margin: 0 6px;
}

.nav-cart{
    width: 120px;
    background-color: #424242;
    text-align: center;
    margin-left: 15px;
}

.nav-cart a{
    /* 行内块元素会有一个边框溢出来，这里转换为块级就不会有问题了 */
    display: block;
    float: none;
}

.nav-content a:hover {
    color: #fff;
}

.nav-content .nav-link .qrcode{
    width: 124px;
    height:0px;
    overflow: hidden;
    background-color:#FFF;
    box-shadow: 0 5px 4px rgba(0, 0, 0,.3);
    line-height: 1;
    text-align: center;
    transition: height 300ms;
    z-index: 99;
}

.nav-content .nav-link .download{
    position: relative;
}



.nav-content .nav-link .download:hover .qrcode{
    height: 150px;
}

.nav-content .nav-link .download:hover .arrow{
   border-width: 10px;
}



.nav-content .nav-link .download .arrow{
    border: solid 0px #fff;
    border-top-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
    position: absolute;
    top:21px;
    left:13px;
}

.nav-content .nav-link .qrcode {
    position: absolute;
    top: 41px;
    left: -39px;

}
.nav-content .nav-link .qrcode img{
    width: 84px;
    margin: 20px;
    
}

.nav-content .nav-link .qrcode span{
    font-size: 14px;
    color: #000;
}

.nav-cart{
    position: relative;
}
.nav-cart:hover a{
    background-color: #fff;
    color: #ff6700;
}

.nav-cart:hover .cart-info{
   height: 101px;
}

.nav-cart .cart-info{
    width: 317px;
    height: 0px;
    overflow: hidden;
    line-height: 101px;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .3);
    position: absolute;
    left: -197px;
    top: 40px;
    transition: height 300ms;
    z-index: 9999;
}

.category-wrapper{
    position: relative;
}

.category-content{
    height: 83px;
}

.category-content .logo{
   float: left;
    width: 58px;
    height: 57px;
    margin-top: 23px;
    background-image:url(../img/mi-logo.png) ;
    background-color: #ff6700;
    background-position: center center;
    text-indent: -9999px;
}

.link,
.link >li{
    float: left;
    height: 83px;
   
}

.category-content .hide{
    visibility: hidden;
}

.category-content .link{
    width: 755px;
    margin-left: 36px;
    margin-top: 40px;
}

.link >li a{
    margin-right: 15px;
    text-decoration: none;
    font-size: 16px;
    color: #333;
}

.link >li a:not(:first-child){
    float: left;
}

.link >li:not(:first-child):hover a{
    color: #ff6700;
}

.category-content .slide{
    position: absolute;
    left: 0;
    top: 101px;
    width: 100%;
    /* height: 232px; */
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, .22);
    transition: height 500ms;
    overflow: hidden;
    z-index: 9999;
}

.search{
    margin-top: 28px;
    float: right;
    
}

.search input[type="text"]{
    outline: none;
    float: left;
    width: 233px;
    height: 50px;
    border: 1px solid #ccc;
    padding: 0;
}

.search input[type="text"]:focus,
.search input[type="text"]:focus ~button{
    border-color: #ff6700;
}



.search button{
    float: left;
    width: 50px;
    height: 50px;
    padding: 0;
    box-sizing: content-box;
    background-color: #fff;
    border: 1px solid #ccc;
    font-size: 18px;
    border-left: none;
}

.search button:hover{
    color: #fff;
    background-color: #ff6700;

}

.search .search-info{
    float: left;
    width: 233px;
    height: 0;
    /* height: 0; */
    border: 0px solid #ff6700;
    margin-top: -1px;
    transition: all 300ms;
    overflow: hidden;
    z-index: 99999;
}

.link .all{
    position: relative;
    margin-right: 34px;
}

.link ul{
    padding:21px 0 36px 0;
    height: 402px;
    width: 236px;
    background-color: rgba(0, 0, 0, .6);
    position: absolute;
    top:64px;
    left: -94px;
    z-index: 99;
   
}

.link ul li{
    padding-left: 30px;
    height: 42px;
    line-height: 42px;
}

.link ul a{
    display: block;
    color: #fff;
    font-size: 14px;
}

.link ul li:hover{
    background-color: #ff6700;
}

.all ul li a::after{
    content: '\f105';
    font-size: 20px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    float: right;
    margin-right: 30px;
}


.banner{
    z-index: 1;
}
.banner ul{
    margin-top: 21px;


}

.banner ul li{
    position: absolute;
}

.banner ul li img{
    width: 1224px;
}



